package work2_28;

public class Poker {
    /**
     * 定义两个数组，一个数组存储扑克牌花色，
     * 另一个数组存储扑克牌（A~K），输出52张扑克牌（除大小王）
     * //♥A、♥2...
     */
    public static void print() {
        String[] pokerStr = {"A","2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"};
        String[] pokerType = {"黑桃", "红桃", "方块", "梅花"};
        for (int i = 0; i < pokerType.length; i++) {
            for (int j = 0; j < pokerStr.length; j++) {
                System.out.print(pokerType[i] + pokerStr[j]+"   ");
            }
            System.out.println();
        }
    }

    public static void main(String[] args) {
        print();
    }
}


